<%@ page import="java.io.*, java.sql.*, java.util.*, database.DBCon" %>
<%@ include file="isComm.jsp"%>
<%
String [] id = request.getParameterValues("id");
String [] GPA = request.getParameterValues("GPA");

DBCon db = new DBCon();

for (int i =0 ; i < id.length ; i++)
    {
    db.changeGPA(id[i], GPA[i]);
}
response.sendRedirect("index.jsp");
%>